home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_313
/
uucp
/
uucp1.lzh
/
src
/
uucico
/
sysdep.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-10
|
2KB
|
62 lines
/* Amiga Port by William Loftus */
/* Changes are Copyright 1988 by William Loftus. All rights reserved. */
/*
* Declarations of gnuucp's system-dependent routines, which
* are in the file sysdep.c (a link to one of many system dependent
* implementations).
*/
void munge_filename();
/*
* Basement level I/O routines
*
* xwrite() writes a character string to the serial port
* xgetc() returns a character from the serial port, or an EOF for timeout.
* sigint() restores the state of the serial port on exit.
* openline() opens a serial port for an incoming call, waiting for carrier.
* openout() opens a serial port for an outgoing call.
*/
int xwrite(); /* filedesc, buffer, count */
int xgetc(); /* No arg */
int sigint(); /* No arg */
void openline(); /* ttyname */
int openout(); /* ttyname */
void amiga_setup(); /* No arg */
/*
* Uucp work queue scan.
*
* gotsome = work_scan(hostname);
*
* Result is 1 if there is work, 0 if none. If result is 1, and work_scan
* is called a second time without an intervening work_done, it won't
* rescan the directory but simply returns a 1.
*
* workfile = work_next();
*
* Result is char * to static filename; or NULL if no more.
* We only read the directory once. If callers want more to rescan it
* in case more work is here, they should call work_scan again.
*
* void work_done();
* Clean up a work scan. No need to call this if work_next returned NULL;
* it has cleaned up.
*/
extern int work_scan();
extern char *work_next();
extern void work_done();
/* SERIAL PORT DELARATIONS ALSO TIMER */
extern struct MsgPort *CreatePort();
extern struct IOExtSer *Read_Request;
extern unsigned char rs_in[2];
extern struct IOExtSer *Write_Request;
extern unsigned char rs_out[2];
extern struct timerequest Timer;
extern struct MsgPort *Timer_Port;